<div class="span10">
  <div id="" style="margin: 20px 0;">
    <form role="form" class="form-horizontal" name="form"  ng-submit="search(employee_certificate)">
      <div class="pull-left">
        <label>开始时间：</label>
        <input type="text" readonly='true' onclick="WdatePicker({onpicked: function(){$(this).trigger('change')}});" ng-model="employee_certificate.begin_time" />
      </div>
      <div class="pull-left" style="margin-left: 20px;">
        <label>结束时间：</label>
        <input type="text" readonly='true' onclick="WdatePicker({onpicked: function(){$(this).trigger('change')}});" ng-model="employee_certificate.end_time"/>
      </div>
      <div class="pull-left" style="margin-left: 20px;">
        <input type="submit" class="btn bg-green" value="搜索" />
      </div>
      <div class="clear"></div>
    </form>
  </div>
  <div class="widget-box">
    <div class="widget-title title-bar">
      <h3>
        <span> 证书过期检索结果</span>
      </h3>
    </div>
    <div class="widget-content-table">
      <table class="table-border">
        <thead>
          <tr>
            <th class="th-no">序号</th>
            <th class="">证书编号</th>
            <th class="th-name">姓名</th>
            <th>证书</th>
            <th>状态</th>
            <th class="th-time">过期时间</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="r in list_valid_certificates">
            <td>{{$index+1}}</td>
            <td>{{r.number}}</td>
            <td>{{r.employee.name}}</td>
            <td>{{r.certificate.name}}</td>
            <td>{{r.state | translate}}</td>
            <td>{{r.valid_end}}</td>
            <td><a ng-click="display_modal(r.id)">复审</a></td>
          </tr>
        </tbody>
      </table>

   </div>
  </div>
</div>
<div class="clear"></div>